import requests


url = "https://testpassport.rabbitpre.com/api/sso/login"
data = {
    "account": "17825202051",
    "password": "Tz123456",
    "fromType": "pc"
}
session = requests.session()
response = session.post(url, json=data, verify=False)
print(response.text)

if response.json().get("errorCode") == "SUCCESS":
    print("登录成功")
else:
    print("登录失败")